local function Bloom(inst)
    inst.AnimState:SetBloomEffectHandle("shaders/anim.ksh")
    inst.AnimState:SetFinalOffset(1)
end

local data = {
    {
        name = "mami_gun_flash_fx",
        anim = "anim",
        fn = Bloom,
        eightfaced = true,
        -- sound = "mami_sfx/gun/oneshot",
        soundvolumn = 0.15,
    },
}

local fx = require("fx")
for _, v in ipairs(data) do
    v.bank = v.bank or v.name
    v.build = v.build or v.name
    v.anim = v.anim or "idle"

    table.insert(Assets, Asset("ANIM", "anim/" .. v.build .. ".zip"))
    table.insert(fx, v)
end
